package org.lucky.controller;

import org.lucky.service.IShareUrlService;
import org.lucky_common.util.AjaxResult;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

@RestController
public class ShareUrlController {

    @Resource
    private IShareUrlService userService;

    @GetMapping("/getUrl")
    public AjaxResult getUrl(){
        return userService.getUrl();
    }

}
